namespace CRMG.Container.Source.BO
{
    using Guru.Framework.Base;
    using System;

    public class Student : AbstractBaseBO
    {
        private int _OBJID;
        public int OBJID
        {
            set { _OBJID = value; AddChangeList("OBJID"); }
            get { return _OBJID; }
        }
        private string _FirstName;
        public string FirstName
        {
            set { _FirstName = value; AddChangeList("FirstName"); }
            get { return _FirstName; }
        }
        private string _LastName;
        public string LastName
        {
            set { _LastName = value; AddChangeList("LastName"); }
            get { return _LastName; }
        }
        private int _UserTypeId;
        public int UserTypeId
        {
            set { _UserTypeId = value; AddChangeList("UserTypeId"); }
            get { return _UserTypeId; }
        }
        private string _Pass;
        public string Pass
        {
            set { _Pass = value; AddChangeList("Pass"); }
            get { return _Pass; }
        }
        private string _EMail;
        public string EMail
        {
            set { _EMail = value; AddChangeList("EMail"); }
            get { return _EMail; }
        }
        private string _Phone;
        public string Phone
        {
            set { _Phone = value; AddChangeList("Phone"); }
            get { return _Phone; }
        }
        private string _IdentityNo;
        public string IdentityNo
        {
            set { _IdentityNo = value; AddChangeList("IdentityNo"); }
            get { return _IdentityNo; }
        }
        private DateTime _BirthDate;
        public DateTime BirthDate
        {
            set { _BirthDate = value; AddChangeList("BirthDate"); }
            get { return _BirthDate; }
        }
        private string _Address;
        public string Address
        {
            set { _Address = value; AddChangeList("Address"); }
            get { return _Address; }
        }
        private DateTime _UserCreationDate;
        public DateTime UserCreationDate
        {
            set { _UserCreationDate = value; AddChangeList("UserCreationDate"); }
            get { return _UserCreationDate; }
        }
        private int _CreatedByUser;
        public int CreatedByUser
        {
            set { _CreatedByUser = value; AddChangeList("CreatedByUser"); }
            get { return _CreatedByUser; }
        }

        private string _MobilePhone;
        public string MobilePhone
        {
            set { _MobilePhone = value; AddChangeList("MobilePhone"); }
            get { return _MobilePhone; }
        }
        private int _GradeId;
        public int GradeId
        {
            set { _GradeId = value; AddChangeList("GradeId"); }
            get { return _GradeId; }
        }
        private int _School;
        public int School
        {
            set { _School = value; AddChangeList("School"); }
            get { return _School; }
        }
        private int _Department;
        public int Department
        {
            set { _Department = value; AddChangeList("Department"); }
            get { return _Department; }
        }
        private int _WorkState;
        public int WorkState
        {
            set { _WorkState = value; AddChangeList("WorkState"); }
            get { return _WorkState; }
        }
        private int _Position;
        public int Position
        {
            set { _Position = value; AddChangeList("Position"); }
            get { return _Position; }
        }
        private string _WorkPhone;
        public string WorkPhone
        {
            set { _WorkPhone = value; AddChangeList("WorkPhone"); }
            get { return _WorkPhone; }
        }
        private string _WorkEMail;
        public string WorkEMail
        {
            set { _WorkEMail = value; AddChangeList("WorkEMail"); }
            get { return _WorkEMail; }
        }
        private string _WorkAdress;
        public string WorkAdress
        {
            set { _WorkAdress = value; AddChangeList("WorkAdress"); }
            get { return _WorkAdress; }
        }

        private int _UpdateUser;
        public int UpdateUser
        {
            set { _UpdateUser = value; AddChangeList("UpdateUser"); }
            get { return _UpdateUser; }
        }
        private DateTime _UpdateTime;
        public DateTime UpdateTime
        {
            set { _UpdateTime = value; AddChangeList("UpdateTime"); }
            get { return _UpdateTime; }
        }
        private int _CompanyId;
        public int CompanyId
        {
            set { _CompanyId = value; AddChangeList("CompanyId"); }
            get { return _CompanyId; }
        }
        private int _IsActive;
        public int IsActive
        {
            set { _IsActive = value; AddChangeList("IsActive"); }
            get { return _IsActive; }
        }
        private byte[] _Resim;
        public byte[] Resim
        {
            set { _Resim = value; AddChangeList("Resim"); }
            get { return _Resim; }
        }

        public string GetTable()
        {
            return "Student";
        }
        public string GetIdColumn()
        {
            return "OBJID";
        }
    }
}
